using SharpArch.Domain.Commands;

namespace OTE.Tasks.Commands.Category
{
    public class CategoryAddedCommand : CommandBase
    {
        public int ParentId { get; set; }

        public string CreatedBy { get; set; }

        public string ContentName { get; set; }
    }

    public class CategoryAddedResult : CommandResult
    {
        public CategoryAddedResult(bool success)
            : base(success)
        {
        }

        public string Message { get; set; }

        public Domain.Category Category { get; set; }
    }
}